package junker.defence.model;

public class TimeSpan {
	private long				start;
	private long				end;
	private long				duration;
	private long				durationMillis;

	public TimeSpan(long start, long end) {
		super();
		this.start = start;
		this.end = end;
		this.duration = end - start;
		this.durationMillis = duration / 1000 / 1000;
	}

	public long getStart() {
		return start;
	}

	public long getEnd() {
		return end;
	}

	public long getDuration() {
		return duration;
	}
	
	public long getDurationMillis(){
		return this.durationMillis;
	}

}
